package com.photography.service;

import com.photography.entity.PageResult;
import com.photography.pojo.Customer;
import com.photography.pojo.CustomerVo;

import java.util.List;

public interface CustomerService {
    void addCustomer(CustomerVo customerVo);

    PageResult<Customer> findAll(Customer customer, int page, int rows);

    void updateCustomer(Customer customer);

    void update(Customer customer);

    void deleteCustomerByIds(String[] ids);

    void deleteCustomer(Customer customer);

    Customer findOne(String phonenumber);
}
